package cn.iocoder.yudao.module.lowcode.controller.admin.script.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.List;

@Schema(description = "管理后台 - Groovy 脚本验证结果 Response VO")
@Data
public class GroovyScriptValidationRespVO {

    @Schema(description = "是否验证通过", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean valid;

    @Schema(description = "错误信息", example = "语法错误：第10行缺少分号")
    private String errorMessage;

    @Schema(description = "警告信息列表")
    private List<String> warnings;

}